// Vendor prefixing for shorthand properties
@mixin vendor-prefixes($property, $value) {
    -webkit-#{$property}: $value;
    -moz-#{$property}: $value;
    -ms-#{$property}: $value;
    -o-#{$property}: $value;
    #{$property}: $value;
}

@mixin keyframes( $name) {
    @-webkit-keyframes #{$name} {
        @content
    }
    @-moz-keyframes #{$name} {
        @content
    }
    @-o-keyframes #{$name} {
        @content
    }
    @-ms-keyframes #{$name} {
        @content
    }
    @keyframes #{$name} {
        @content
    }
}

// :hover, :active, and :focus combined styles
//@include hoverActiveFocus(background-color,#ccc);
@mixin hoverActiveFocus($property, $value) {
    &:hover,
    &:active,
    &:focus {
        #{$property}: $value;
    }
}

$inline-block-alignment: middle !default; //设置一个默认的对齐方式
$legacy-support-for-ie: true !default; //支持旧版本IE
// 提供一个跨浏览器的方法来实现`display:inline-block`
//@include inline-block();
@mixin inline-block($alignment: $inline-block-alignment) {
    display: inline-block;
    @if $alignment and $alignment !=none {
        vertical-align: $alignment;
    }
    @if $legacy-support-for-ie {
        *vertical-align: auto;
        zoom: 1;
        *display: inline;
    }
}

//浮动
@mixin float($side:left) {
    float: unquote($side);
    @if $legacy-support-for-ie {
        _display: inline;
    }
}

//清除浮动
@mixin clearfix {
    @if $legacy-support-for-ie {
        *zoom: 1;
    }
    &:before,
    &:after {
        content: "";
        display: table;
    }
    &:after {
        clear: both;
        overflow: hidden;
    }
}

//@include background-imagex(wiki);
@mixin background-imagex($img, $postfix:png) {
    background-image:url("../images/#{$img}.#{$postfix}");
    background-image:-webkit-image-set( url("../images/#{$img}.#{$postfix}") 1x,
    url("../images/#{$img}@2x.#{$postfix}") 2x,
    url("../images/#{$img}@3x.#{$postfix}") 3x);
    background-image:image-set( url("../images/#{$img}.#{$postfix}") 1x,
    url("../images/#{$img}@2x.#{$postfix}") 2x,
    url("../images/#{$img}@3x.#{$postfix}") 3x);
}

[class^="el-icon-fa"],
[class*=" el-icon-fa"] {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome!important;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@fa-css-prefix: el-icon-fa;
a,
a:hover,
a:visited,
a:link,
a:active {
    text-decoration: none;
    color: #20a0ff;
}


.custom-button-minor {
    border: 1px solid #20A0FF;
    color: #20A0FF;
}

.toRight {
    float: right;
}

.breadcrumb {
    margin: 8px 0px 10px 0px;
}


.credit,
.customInfo,
.carBuyCommon,
.assurePerson,
.carAndCredit,
.creditEnter,
.orderAdd,
.financeVerify,
.finance,
.attachment,
.synthesize,
.assetProtection,
.checkInfo,
.checkModify,
.checkException,
.submitContent,
.loanApplyException,
.checkLoanManager,
.checkExceptionDetail,
.creditAdd,
.gpsAddDialog {
    .title {
        font-size: 14px;
        color: #475669;
        padding-left: 8px;
        border-left: 3px solid #20A0FF;
    }
    .info-subtitle {
        font-size: 14px;
        color: #5E6D82;
        margin: 20px 10px;
    }
    .info-table {
        width: 780px;
        color: #475669;
        text-align: left;
        margin-bottom: 20px;
    }
    .info-row {
        text-align: right;
        margin: 14px 10px;
        font-size: 14px;
        .info-input,
        .info-select,
        .info-textarea {
            width: 100%;
            margin-left: 12px;
            text-align: center;
        }
        .info-label {
            line-height: 32px;
            text-align: left;
            .text {
                color: #000000;
            }
        }
        .subTitle {
            line-height: 32px;
            text-align: right;
        }
        .credit-button-text {
            padding: 0;
            text-align: center;
        }
    }
    .resultShrink {
        background: #F9FAFC;
        width: 770px;
        padding: 10px 10px;
        font-size: 14px;
        color: #2A2A2A;
        text-align: left;
    }
    .text-height {
        width: 560px;
        height: 20px;
        overflow: hidden;
    }
    .text-height-shrink {
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .subTitleSele {
        // 选填
        color: #99a9bf;
        font-size: 12px;
        line-height: 34px;
        text-align: left; // padding-left: 10px;
        position: absolute;
        right: -60px;
    }
}

.order-content {
    overflow: auto;
}

.hrDefault {
    margin: 0;
    border: none;
    border-bottom: 1px solid #d3dce6;
}

.primaryButton {
    color: #fff !important;
    background-color: #20a0ff;
    border-color: #20a0ff;
    padding: 8px 18px;
    border-radius: 3px;
    font-size: 14px;
    margin: 1px;
}

.info-tabs {
    height: 100%;
    position: relative;
}

.redBorder {
    border: 1px solid #f70303 !important;
    border-radius: 4px;
}
